# 1. Hello World
print("Hello, IntelliJ IDEA!")

# 2. 变量和运算
name = "Alice"
age = 25
# f"..." 是 Python 3.6+ 的 f-string，用于直接在字符串中嵌入变量或表达式。
print(f"{name} is {age} years old.")

# 3. 条件语句
if age >= 18:
    print("You are an adult.")
else:
    print("You are a minor.")

# 4. 循环
for i in range(5):
    print(f"Loop {i}")